package com.jade.zsy.store.service;

import com.jade.bss.DbException;
import com.jade.bss.db.BaseFacade;
import com.jade.framework.base.util.PagingResult;
import com.jade.zsy.store.vo.EmployeeKpiVo;

/**
 * 用户Store Dubbo服务接口实现
 * User: Administrator
 * Date: 2016-4-17
 * Time: 11:52
 * Version : 1.0
 * Remark:
 * History:
 */

public interface EmployeeKpiFacade extends BaseFacade {

    /**
     * @param ids
     * @throws DbException
     */
    public void delete(long... ids) throws DbException;
    /**
     * @param ids
     * @throws DbException
     */
    public void disabled(long... ids) throws DbException;
    /**
     * @param ids
     * @throws DbException
     */
    public void enabled(long... ids) throws DbException;

    /**
     * @param employeeKpiVo
     * @throws DbException
     * @throws IllegalAccessException
     * @throws InstantiationException
     */
    public void update(EmployeeKpiVo employeeKpiVo)throws DbException,IllegalAccessException,InstantiationException;

    /**
     * @param entity
     * @param page
     * @param size
     * @param keys
     * @return
     * @throws DbException
     * @throws IllegalAccessException
     * @throws InstantiationException
     */
    public PagingResult queryEntity(Object entity, int page, int size, String keys)
            throws DbException, IllegalAccessException, InstantiationException;

}
